###############################################################################
## @copyright Copyright (c) 2022 OnMicro Corp.
## @brief     OpenMSP430 SoC demo on OnMicro FPGA han325t.
## @author    wei.lu@onmicro.com.cn
## @license   SPDX-License-Identifier: Apache-2.0
###############################################################################
PART_NAME    = xc7k325t
PART_PACKAGE = ffg900
PART_SPEED   = 1

PROJECT      = han325t_e906

SRC_DIR      = .
SRC_DIR     += ../han325t
SRC_DIR     += ../../ip/cpu/e906/biu/rtl
SRC_DIR     += ../../ip/cpu/e906/bmu/rtl
SRC_DIR     += ../../ip/cpu/e906/clic/rtl
SRC_DIR     += ../../ip/cpu/e906/clint/rtl
SRC_DIR     += ../../ip/cpu/e906/clk/rtl
SRC_DIR     += ../../ip/cpu/e906/common/rtl
SRC_DIR     += ../../ip/cpu/e906/cp0/rtl
SRC_DIR     += ../../ip/cpu/e906/cpu/rtl
SRC_DIR     += ../../ip/cpu/e906/dtu/rtl
SRC_DIR     += ../../ip/cpu/e906/falu/rtl
SRC_DIR     += ../../ip/cpu/e906/fdsu/rtl
SRC_DIR     += ../../ip/cpu/e906/fmau/rtl
SRC_DIR     += ../../ip/cpu/e906/fpga/rtl
SRC_DIR     += ../../ip/cpu/e906/fpu/rtl
SRC_DIR     += ../../ip/cpu/e906/idu/rtl
SRC_DIR     += ../../ip/cpu/e906/ifu/rtl
SRC_DIR     += ../../ip/cpu/e906/iu/rtl
SRC_DIR     += ../../ip/cpu/e906/lsu/rtl
SRC_DIR     += ../../ip/cpu/e906/pmp/rtl
SRC_DIR     += ../../ip/cpu/e906/pmu/rtl
SRC_DIR     += ../../ip/cpu/e906/rst/rtl
SRC_DIR     += ../../ip/cpu/e906/rtu/rtl
SRC_DIR     += ../../ip/cpu/e906/sysmap/rtl
SRC_DIR     += ../../ip/cpu/e906/tcipif/rtl
SRC_DIR     += ../../ip/cpu/e906/tdt/rtl/common
SRC_DIR     += ../../ip/cpu/e906/tdt/rtl/debug
SRC_DIR     += ../../ip/cpu/e906/tdt/rtl/top

INC_DIR      = ../../ip/cpu/e906/inc_v
INC_DIR     += ../../ip/soc/thead_soc906/system
INC_DIR     += ../../ip/soc/thead_soc906/ahb
INC_DIR     += ../../ip/soc/thead_soc906/apb
INC_DIR     += ../../ip/soc/thead_soc906/gpio
INC_DIR     += ../../ip/soc/thead_soc906/mem
INC_DIR     += ../../ip/soc/thead_soc906/pmu
INC_DIR     += ../../ip/soc/thead_soc906/smpu
INC_DIR     += ../../ip/soc/thead_soc906/timer
INC_DIR     += ../../ip/soc/thead_soc906/uart
INC_DIR     += ../../ip/soc/thead_soc906/wic

EXTRA_VFLAGS = FPGA

include ../common/Makefile.fpga_vivado
